package com.zyx.mpdemo.common.exception;


import com.zyx.mpdemo.common.constant.ResponseCode;
import com.zyx.mpdemo.common.exception.base.BaseException;

/**
 * @author Yaxi.Zhang
 * @since 2022/10/1 08:17
 */
public class BusinessException extends BaseException {

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException() {
        super(ResponseCode.RESPONSE_CODE_500, "内部系统错误");
    }

}
